package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Resource;
import com.baizhi.springboot.entity.Role;

import javax.validation.constraints.Max;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public interface ResourceDao {
    List<Resource> selectAllResource();

    Set<String> selectResourceByRoles(Set<String> set);
}
